package com.qin.mall.service;

import com.qin.mall.domain.PmsSkuStock;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 覃剑
* @description 针对表【pms_sku_stock(sku的库存)】的数据库操作Service
* @createDate 2022-11-07 09:45:36
*/
public interface PmsSkuStockService extends IService<PmsSkuStock> {
    
    // TODO 根据产品id和skuCode模糊搜索
    List<PmsSkuStock> getList(Long pid, String keyword);
    
    // TODO 批量更新商品库存信息
    int stockUpdate(Long pid,List<PmsSkuStock> skuStockList);
}
